build: Use more conservative GResource embedding on non-x86_64
authorSimon McVittie <smcv@debian.org>
Sat, 17 Sep 2022 20:50:38 +0000 (21:50 +0100)
committerSimon McVittie <smcv@debian.org>
Sat, 17 Sep 2022 20:50:38 +0000 (21:50 +0100)
commit60a83a51c3c3ae926df991a1e92a61a6129adaa6
tree9303a427714bb4a2e0b039ce479b66dfac6467dc
parent3a941eff4aa0ad66e0aa34e6528bc4d78c5e5d5e
build: Use more conservative GResource embedding on non-x86_64

Doing clever things with objcopy is faster and seems to be reliable on
x86_64 Linux, but also doesn't work on all toolchains and architectures:
in particular, Debian has had trouble with this on arm and mips.
In a distro build environment where we are compiling all of GTK every
time, the cost of potentially unreliable builds is higher than the cost
of using slower but more conservative GResource embedding.

Resolves: https://gitlab.gnome.org/GNOME/gtk/-/issues/5107
Signed-off-by: Simon McVittie <smcv@debian.org>
gtk/meson.build